package pe.com.empresa.datos.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pe.com.empresa.datos.dominio.Rol;
import pe.com.empresa.datos.dominio.RolExample;

public interface RolMapper {
    int countByExample(RolExample example);

    int deleteByExample(RolExample example);

    int deleteByPrimaryKey(Integer idRol);

    int insert(Rol record);

    int insertSelective(Rol record);

    List<Rol> selectByExample(RolExample example);

    Rol selectByPrimaryKey(Integer idRol);

    int updateByExampleSelective(@Param("record") Rol record, @Param("example") RolExample example);

    int updateByExample(@Param("record") Rol record, @Param("example") RolExample example);

    int updateByPrimaryKeySelective(Rol record);

    int updateByPrimaryKey(Rol record);
}